#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[]) {
    int print_end = 1;
    int i = 1;
    if (argc > 1 && strcmp(argv[1], "-n") == 0) {
        print_end = 0;
        i = 2;
    }

    for ( ; i < argc; i++) {
        printf("%s", argv[i]);

        if (i + 1 == argc) {
            if (print_end)
                putchar('\n');
        } else
            putchar(' ');
    }
    return 0;
}